package com.ruoyi.system.domain.ERP;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.*;

/**
 * @Description: TODO
 * @Date: 2024/8/7 10:51
 * @Author: zhangq
 * @Version: 1.0
 */
@Table(name = "prod_plan_order_process_erp")
@Entity
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("prod_plan_order_process_erp")
public class ProdPlanOrderProcessErp {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private String id;
    //生产订单
    @ApiModelProperty(value = "生产订单")
    private String orderId;
    //操作完成的确认编号
    @ApiModelProperty(value = "操作完成的确认编号")
    private String rueck;
    //工序号
    @ApiModelProperty(value = "工序号")
    private String processNo;
    //工作中心
    @ApiModelProperty(value = "工作中心")
    private String workCenter;
    //工厂
    @ApiModelProperty(value = "工厂")
    private String factory;
    //控制码
    @ApiModelProperty(value = "控制码")
    private String controlCode;
    //工序描述
    @ApiModelProperty(value = "工序描述")
    private String processDescription;
    //工序数量
    @ApiModelProperty(value = "工序数量")
    private String processNum;

    @ApiModelProperty(value = "生产计划主键id")
    private Long planId;
}
